home *** CD-ROM | disk | FTP | other *** search
-
- This ARC file should contain the following files:
-
- 1. AsmToCode---- Executable program to convert Assembler object files
- to Modula-2 CODE statements.
- 2. CodeDemo----- The executable program demonstrating a Modula-2
- program containing a lengthy Assembler routine.
- 3. CodeDemo.mod- Modula2 Source code for the CodeDemo program.
- 4. Scroll.asm--- THe Assembler source for the routine used as a
- CODE statement in the Modula2 program "CodeDemo".
- 5. Scroll.o----- The object file assembled from Scroll.asm.
- 6. Scroll.cnv--- The converted object file. (Converted to a
- Modula2 CODE statement.
-
- This ARC file was created to demonstrate a convenient method to
- include Assembly routines in Modula-2 CODE statements. A Modula-2
- Assembly linker would be a lot more convenient, but I haven't
- been able to find one.
-
- Procedure used:
-
- 1. Wrote Scroll.asm using ED (any text editor will do).
- 2. Assembled Scroll.asm to get Scroll.o.
- 3. Used AsmToCode to convert Scroll.o to Scroll.cnv.
- 4. Wrote CodeDemo.mod using ED (any text editor will do).
- 5. Pasted Scroll.cnv in at the appropriate location in CodeDemo.mod.
- 6. Compiled CodeDemo.mod to get CodeDemo.lnk.
- 7. Linked CodeDemo.lnk to get CodeDemo.
-
- Hope you find this usefull.
-
-